package scoder.factory;

import scoder.ingredient.*;

public class OtherIngredientFactory implements PizzaIngredientFactory {
    @Override
    public Dough createDough() {
        return new AnotherDought();
    }

    @Override
    public Cheese createCheese() {
        return new SecondCheese();
    }

    @Override
    public Veggies[] createVeggies() {
        Veggies[] veggies = {new Onion()};
        return veggies;
    }
}
